﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleData.Storage.Common;

namespace SimpleData.ObjectModel
{
	internal static class DocumentDataExtensions
	{

		public static DataObjectRow ToDataObjectRow( this Document doc )
		{
			var row = new DataObjectRow( new DataObjectColumnKey( doc.Token ), doc.Schema );

			return row;
		}

	}
}
